
<?php if(count($this->keywords)>0):?>
	<table class="table-3" width="500px">
		<thead>
			<th>Rank</th> <th>Name</th> <th>Count</th> <th>Pos rank</th> <th>Pos count</th>
		</thead>
		<tbody>
		<?php 
			foreach ($this->keywords as $ranking):
		?>	
				<tr>
					<td>
						<?php echo $ranking->rank;?>
					</td>
					<td>
						<?php echo $ranking->keyword_name;?>
					</td>
					<td>
						<?php echo $ranking->count;?>
					</td>
					<td>
						<?php echo $ranking->position_rank;?>
					</td>
					<td>
						<?php echo $ranking->position_count;?>
					</td>
				</tr>
		<?php 		
			endforeach;
		?>
		</tbody>
	</table>
	<br/>
<?php else:?>
	<p>Website này không có từ khóa nào hoặc chưa được xếp hạng.</p>
<?php endif;?>
